package com.xxzuibang.day3;

import java.util.Scanner;

public class Demo4 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入你的姓名：");
        String name=sc.next();
        System.out.println("请输入你的年龄：");
        int age=sc.nextInt();
        System.out.println("请输入你的性别：");
        char sex=sc.next().charAt(0);
        System.out.println("请输入你的籍贯：");
        String place=sc.next();
        System.out.println("请输入你的薪水：");
        double salary=sc.nextDouble();
        System.out.println("请输入你的职位：");
        String position=sc.next();
        System.out.println("请输入你的分数：");
        double score=sc.nextDouble();
        System.out.println("你的信息如下：");
        System.out.println("姓名："+name+"\n"+"年龄："+age+"\n"+"性别："+sex+"\n"
                +"籍贯："+place+"\n"+"薪水："+salary+"\n"+"职位："+position+"\n"+"分数："+score);










    }
}
